import  React  from 'react';
import Singin  from  '../components/Singin.js'
import Home  from  '../components/Home.js'
//配置路由规则
import { Router, Route } from 'dva/router';
let fn = function({  history,app })  {
     return (
       <Router history={history}>
           <React.Fragment>
                  <Route path="/home" exact component={Home} />
                  <Route path="/singin" exact component={Singin} />
           </React.Fragment>
       </Router>
     )
 }
export  default  fn;
